﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ResultAuthor.aspx.cs" Inherits="ResultAuthor" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" Runat="Server">
     <asp:ListView ID="lsvResult" runat="server" ItemPlaceholderID="itemPlaceholder">
        <LayoutTemplate>
            <div id="itemPlaceholder" runat="server">
            </div>
        </LayoutTemplate>
        <ItemTemplate>
            <div class="bookInfoGrid">
                <!--row1.c1-->
                <div class="bookInfoImage">
                    <img src="<%#Eval("image_url")%>" />
                </div>
                <div class="bookInfoArea">
                    <!--infoText-->
                    <div class="bookInfoCaption">
                        <h5>
                            <%#Eval("name")%></h5>
                    </div>
                    <div class="pnlPrice">
                        <span class="bookOldPrice">
                            <%#Eval("price")%></span> <span class="bookNewPrice">
                                <%#Eval("price")%></span>
                    </div>
                    <div class="bookInfoText">
                        <%#Eval("notes")%>
                    </div>
                    <div class="bookInfoText">
                        <%#Eval("author")%>
                    </div>
                    <div class="buttonHolder">
                        <span>
                            <button class="btnDetail">
                                Detail</button></span> <span>
                                    <asp:Button CssClass="btnAddtoCart" ID="btnAddToCart" runat="server" Text="AddToCart">
                                    </asp:Button></span>
                    </div>
                </div>
                <!--infoText-->
            </div>
        </ItemTemplate>
        <EmptyDataTemplate>
            <asp:Label ID="Label1" runat="server" Text="Not found data with your keyword"></asp:Label>
        </EmptyDataTemplate>
    </asp:ListView>
    <asp:DataPager ID="DataPager1" PagedControlID="lsvResult" PageSize="6" runat="server"></asp:DataPager>
</asp:Content>

